package com.tyt.travel.mapper;

import com.tyt.travel.model.EvaluateEntity;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface EvaluateMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(EvaluateEntity record);

    int insertSelective(EvaluateEntity record);

    EvaluateEntity selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(EvaluateEntity record);

    int updateByPrimaryKey(EvaluateEntity record);

    List<EvaluateEntity> selectBySceneryId(@Param("sceneryId") Integer sceneryId);
}